package graphlib;

/**
 * A class represent the heuristic charachteristics of a given type of nodes
 * @author KF04, ITU, Group 11
 */
public abstract class Heuristics<N extends Node> {
    N startNode;

    public void setStartNode(N start){
        startNode = start;
    }

    public double h(N node){
        return h(startNode, node);
    }

    abstract public double h(N start, N node);
}
